package com.xlhj.boot.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author: caijliu
 * @Date: 08/09/2021 10:19
 * @Description TODO
 * @Vsersion: 0.0.1
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysUserInfo implements Serializable {

    private Long userId;

    private String userName;

    private String phone;

    private Integer sex;

    private Integer age;

    private String addr;

    private Integer status;

    @TableLogic
    private Integer delFlag;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
